package cn.tianjindong.blog_portal.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.tianjindong.blog.mapper.BlogLinkMapper;
import cn.tianjindong.blog.pojo.BlogLink;
import cn.tianjindong.blog.pojo.BlogLinkExample;
import cn.tianjindong.blog_portal.service.LinkService;

@Service
public class LinkServiceImpl implements LinkService{

	@Autowired
	private BlogLinkMapper linkMapper;
	
	@Override
	public List<BlogLink> getLinkList() {
		List<BlogLink> list = linkMapper.selectByExample(new BlogLinkExample());
		return list;
	}

}
